package com.ruoyi.project.question.compose.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 问卷被评审人关联对象 questionnaire_informant_conn
 * 
 * @author Bandit
 * @date 2021-12-14
 */
public class QuestionnaireInformantConn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问卷id */
    private Long questionnaireId;

    /** 被评审人id */
    @Excel(name = "被评审人id")
    private Long informantId;

    /** 被评审人该问卷成绩 */
    @Excel(name = "被评审人该问卷成绩")
    private String grade;

    public void setQuestionnaireId(Long questionnaireId)
    {
        this.questionnaireId = questionnaireId;
    }

    public Long getQuestionnaireId()
    {
        return questionnaireId;
    }
    public void setInformantId(Long informantId)
    {
        this.informantId = informantId;
    }

    public Long getInformantId()
    {
        return informantId;
    }
    public void setGrade(String grade)
    {
        this.grade = grade;
    }

    public String getGrade()
    {
        return grade;
    }

    public QuestionnaireInformantConn(Long questionnaireId, Long informantId, String grade) {
        this.questionnaireId = questionnaireId;
        this.informantId = informantId;
        this.grade = grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionnaireId", getQuestionnaireId())
            .append("informantId", getInformantId())
            .append("grade", getGrade())
            .toString();
    }
}
